package com.xiechuang.component;

import com.xiechuang.api.TestApi;
import org.springframework.stereotype.Component;

/**
 * @Description hystrix熔断处理
 * @Author xiechuang
 * @Date 2021/11/27
 */
@Component
public class HystrixError implements TestApi {

    @Override
    public String testFeign(String name) {
        return "testFeign sorry errors";
    }

}
